﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace handvn.Models
{
    public class AccountSystem
    {
        public int AccountSystemID { get; set; }
        [Required(ErrorMessage = "Chưa nhập tên đăng nhập")]
        [Display(Name = "User name")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "Chưa nhập mật khẩu")]
        [DataType(DataType.Password)]
        public string Password1  { get; set; }

        public string Password2{ get; set; }
        public string LoaiTaiKhoan { get; set; }
        public bool TrangThai { get; set; }
    }
}